package com.pig.pojo.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig.pojo.BasePojo;

import java.io.Serializable;
import java.util.Date;

@TableName("p_shop")
public class Shop  extends BasePojo {
    @TableId(type= IdType.AUTO)
    private Long shopId; //门店Id
    private String orderId;//商品id
    private String  receiverProvince;//发货省
    private String receiverCity;//发货市
    private String receiverRegion;//发货区
    private Long shippingStatus;//商品状态
    private Long orderStatus;//订单状态
    private String distribution;//配送方式

    public Shop(){}

    public Shop(Date createdTime, Date modifiedTime, Long shopId,String orderId,String  receiverProvince,String receiverCity,String receiverRegion,Long shippingStatus,Long orderStatus,String distribution){
        super(createdTime,modifiedTime);
        this.shopId=shopId;
        this.orderId=orderId;
        this.receiverProvince=receiverProvince;
        this.receiverCity=receiverCity;
        this.receiverRegion=receiverRegion;
        this.shippingStatus=shippingStatus;
        this.orderStatus=orderStatus;
        this.distribution=distribution;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "shopId=" + shopId +
                ", orderId='" + orderId + '\'' +
                ", receiverProvince='" + receiverProvince + '\'' +
                ", receiverCity='" + receiverCity + '\'' +
                ", receiverRegion='" + receiverRegion + '\'' +
                ", shippingStatus=" + shippingStatus +
                ", orderStatus=" + orderStatus +
                ", distribution='" + distribution + '\'' +
                '}';
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getReceiverProvince() {
        return receiverProvince;
    }

    public void setReceiverProvince(String receiverProvince) {
        this.receiverProvince = receiverProvince;
    }

    public String getReceiverCity() {
        return receiverCity;
    }

    public void setReceiverCity(String receiverCity) {
        this.receiverCity = receiverCity;
    }

    public String getReceiverRegion() {
        return receiverRegion;
    }

    public void setReceiverRegion(String receiverRegion) {
        this.receiverRegion = receiverRegion;
    }

    public Long getShippingStatus() {
        return shippingStatus;
    }

    public void setShippingStatus(Long shippingStatus) {
        this.shippingStatus = shippingStatus;
    }

    public Long getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Long orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getDistribution() {
        return distribution;
    }

    public void setDistribution(String distribution) {
        this.distribution = distribution;
    }
}
